package com.code.gen.constant;

/**
 * 代码生成静态属性类
 * 
 * @author liu
 * @date 2022-08-18
 */
public class CodeGenConstant {

    /**Controller路径的后缀*/
    public static final String D_ACTION = ".action";
    /**Controller路径的后缀*/
    public static final String D_DO_ = ".do";
    /**Controller路径的后缀*/
    public static final String D_SHOW_ = ".show";
    /** 数据库字符串类型 */
    public static final String[] COLUMNTYPE_STR =
        {"char", "varchar", "nvarchar", "varchar2", "tinytext", "text", "mediumtext", "longtext"};
    /** 数据库时间类型 */
    public static final String[] COLUMNTYPE_TIME = {"datetime", "time", "date", "timestamp"};
    /** 数据库数字类型 */
    public static final String[] COLUMNTYPE_NUMBER = {"tinyint", "smallint", "mediumint", "int", "number", "integer",
        "bit", "bigint", "float", "float", "double", "decimal"};

}